package com.agl.api.dto.login;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 登录用户信息
 * @author Yangtao
 */
@Data
public class AglLoginUserInfoDto {

    @ApiModelProperty(value = "公司人员编号")
    private String companyUserCode;

    @ApiModelProperty(value = "公司编号")
    private String companyCode;

    @ApiModelProperty(value = "公司人员id")
    private Long companyUserId;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "人员名称")
    private String userName;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "组织层级名称")
    private String structureTierName;

    @ApiModelProperty(value = "组织层级编号")
    private String structureTierCode;

    @ApiModelProperty(value = "组织层级id")
    private Long structureTierId;

    @ApiModelProperty(value = "组织名称")
    private String orgName;

    @ApiModelProperty(value = "组织编号")
    private String orgCode;

    @ApiModelProperty(value = "组织id")
    private Long orgId;

    @ApiModelProperty(value = "流程节点权限")
    private List<Long> flowNodeIds;

    @ApiModelProperty(value = "仓库权限")
    private List<Long> warehouseIds;

    @ApiModelProperty(value = "操作权限")
    private List<String> menuUrls;

    @ApiModelProperty(value = "角色Id")
    private List<Long> roleIds;

    @ApiModelProperty(value = "角色Id集合")
    private Long roleId;

    @ApiModelProperty(value = "客户编号")
    private String clientId;

    @ApiModelProperty(value = "客户编号")
    private String clientCode;

    @ApiModelProperty(value = "客户名称")
    private String clientName;

    @ApiModelProperty(value = "回调地址")
    private String redirectUri;
}
